package cn.crawler.app.crown.modules.models.constant;

import cn.crawler.app.crown.modules.models.CrownConfig;

import java.util.List;

public class CrownConstant {
//    public static final String BASE_URL = "http://66.133.86.54/";
//    public final static String BASE_URL = "http://hga035.com/";
//    public final static String BASE_URL = "http://hga030.com/";

    public static final Integer RE_TRY_TIMES = 3;
    /**
     * 爬虫账号及配置 list,程序启动加载
     */
    public static List<CrownConfig> listConfig;


    public final static String CLASSPATH = "cn.crawler.app.crown.modules.services.impl.";

    /**
     * 今日
     */
    public final static String BROWSE = "browse";
    /**
     * 早盘
     */
    public final static String FUTURE = "future";
    /**
     * 滚球
     */
    public final static String RUNNING = "running";
    /**
     * 已结束
     */
    public final static String FINISHED = "finished";
    /**
     * 其他（取消、延迟等异常状态）
     */
    public final static String OTHER = "other";

    /**
     * 腰斩
     */
    public final static String CUT = "Suspended";


    public final static String MATCH_ERROR = "Invisible Match";

    /**
     * 综合
     */
    public final static String P3 = "p3";

    /**
     * 英文
     */
    public final static String LANGX = "en-us";


    /**
     * 账号被登出信息
     */
    public final static String LOGOUT_INFO = "tpl/logout_warn.html','_top')";

    /**
     * 皇冠维护信息
     */
    public final static String MAINTAIN_INFO = "<script>top.location='/app/member/index.php';</script>";


    /**
     * 短期维护(通过爬虫时判断t_page是否存在)
     */
    public final static String MAINTAIN_INFO_SHORT = "MAINTAIN_SHORT_TERM";

    /**
     * 皇冠短期维护时获取维护时间地址
     */
    public final static String MAINTAIN_TIME_URL = "/app/member/showMaintain.php";
}
